import request from '@/utils/request'
export function getList(data) {
    return request({
        url: '/conf_page/getList',
        method: 'post',
        data: data
    })
}
export function getOptionList(data) {
    return request({
        url: 'conf_page/getOptionList',
        method: 'post',
        data: data
    })
}
export function addMd(data) {
    return request({
        url: 'conf_page/add',
        method: 'post',
        data: data
    })
}
export function updateMd(data) {
    return request({
        url: 'conf_page/update',
        method: 'post',
        data: data
    })
}
export function checkNameExists(data) {
    return request({
        url: '/conf_page/checkNameExists',
        method: 'post',
        data: data
    })
}
export function subList() {
    return request({
        url: '/advert/domains/subList',
        method: 'get',
    })
}

export function detailDomain(query) {
    return request({
        url: '/advert/domains/detail',
        method: 'get',
        params: query
    })
}